//
//  SSCarouselFigureCell.m
//  Travel_World
//
//  Created by dlios on 15/10/12.
//  Copyright © 2015年 TLS. All rights reserved.
//

#import "SSCarouselFigureCell.h"
#import "Masonry.h"

@implementation SSCarouselFigureCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.myImageView = [[UIImageView alloc] init];
        self.myImageView.backgroundColor = [UIColor purpleColor];
        [self.contentView addSubview:self.myImageView];
        
        [self.myImageView mas_makeConstraints:^(MASConstraintMaker *make) {
            
            make.centerX.and.centerY.equalTo(self.contentView);
            make.width.and.height.equalTo(self.contentView);
            
        }];
    }
    
    return self;
}

@end
